Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'n' depth stack for src attribute #518

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nathHy
Copy link

@nathHy nathHy commented Jul 4, 2017

This PR adds the ability to change the src depth via an integer value instead of a boolean
Related to #72

This allows users to wrap their logger in functions and still maintain the correct src path/filename/function call when viewing logs.

  • Updated readme
  • Updated tests
  • Fixes small typo in contributing.md

Let me know if theres anything I missed

Also I couldn't get the make check to function correctly. It kept complaining about /bin/sh not having [[
but it still passed the linter

@nathHy
Copy link
Author

nathHy commented Jul 31, 2017

@trentm Any updates on this one?

@EricByers
Copy link

This would be helpful, since we ran into the same issue with src: true and wrapped logger methods.

@Sonivaibhav26
Copy link

@trentm Any updates on this one?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants